package com.wm.task;

public class task9 {
    public static void main(String[] args) {
        int num = 2;
        int sum = 0;
        while (num <= 1000){
            sum += num;
            num += 2;
        }
        System.out.println(sum);
    }
}
